package top.itczw.beetl.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.itczw.beetl.dao.RoleDao;
import top.itczw.beetl.entity.Role;
import top.itczw.beetl.service.RoleService;

/**
 * @author czw
 */
@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleDao roleDao;


    @Override
    public void insert(Role role, boolean b) {
        roleDao.insert(role,b);
    }
}
